﻿/** 
 * Description:商品基本信息
 * Date:2011-7-12
 * Author:Along	
*/
package com.community.shopping.domain;

import org.directwebremoting.annotations.DataTransferObject;

@DataTransferObject
public class Goods {
	  /**
	  * 商品ID
	  */
	  private Integer id;	
	  /**
	   * 分店标识
	   */
	  private Integer shopId;	 
	  /**
	   * 所在分类
	   */
	  private GoodsType goodType;
	  /**
	   * 商品名称
	   */
	  private String goodsName;
	  /**
	   * 商品编号
	   */
	  private String goodsNO;
	  /**
	   * 商品排序
	   */
	  private Integer sort;	 
	  /**
	   * 品牌
	   */
	  private GoodsBrand brand;	
	  /**
	   * 卖价
	   */
	  private float price;
	  /**
	   * 历史价格
	   */
	  private float historyPrice;	 
	  /**
	   * 成本价
	   */
	  private float costPrice;
	  /**
	   * 过期时间
	   */
	  private String  expirationTime;
	  /**
	   * 状态  是否上架
	   */
	  private Integer isMarketable;
	  /**
	   * 状态   是否为精品
	   */
	  private Integer isBest;
	  /**
	   * 状态   是否为新品
	   */
	  private Integer isNew;
	  /**
	   * 状态   是否为热销品
	   */
	  private Integer isHot;	  
	  /**
	   * 状态  0:删除 1:正常
	   */
	  private Integer status;
	  /**
	   * 库存数量
	   */
	  private Integer goodsNum;
	  /**
	   * 卖出数量
	   */
	  private Integer saleNum;
	  /**
	   * 评价综合得分
	   */
	  private float commentScore;
	  /**
	   * 评论总数
	   */
	  private Integer commentsTotal;
	  /**
	   * 搜索关键字
	   */
	  private String keyWorld;
	  /**
	   * 货位
	   */
	  private String position;
	  /**
	   * 唯一识别码
	   */
	  private String UUID;
	
	  /**
	   * 描述
	   */
	  private String description;
	 
	  /**
	   * 创建人
	   */
	  private String createUser;
	  /**
	   * 创建时间
	   */
	  private String createDate;
	  /**
	   * 修改人
	   */
	  private String updateUser;
	  /**
	   * 修改时间
	   */
	  private String updateDate;
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}	
	/**
	 * @return the shopId
	 */
	public Integer getShopId() {
		return shopId;
	}
	/**
	 * @param shopId the shopId to set
	 */
	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}
	/**
	 * @return the goodType
	 */
	public GoodsType getGoodType() {
		return goodType;
	}
	/**
	 * @param goodType the goodType to set
	 */
	public void setGoodType(GoodsType goodType) {
		this.goodType = goodType;
	}
	/**
	 * @return the goodsName
	 */
	public String getGoodsName() {
		return goodsName;
	}
	/**
	 * @param goodsName the goodsName to set
	 */
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	/**
	 * @return the goodsNO
	 */
	public String getGoodsNO() {
		return goodsNO;
	}
	/**
	 * @param goodsNO the goodsNO to set
	 */
	public void setGoodsNO(String goodsNO) {
		this.goodsNO = goodsNO;
	}
	/**
	 * @return the sort
	 */
	public Integer getSort() {
		return sort;
	}
	/**
	 * @param sort the sort to set
	 */
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	/**
	 * @return the brand
	 */
	public GoodsBrand getBrand() {
		return brand;
	}
	/**
	 * @param brand the brand to set
	 */
	public void setBrand(GoodsBrand brand) {
		this.brand = brand;
	}
	/**
	 * @return the price
	 */
	public float getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(float price) {
		this.price = price;
	}
	/**
	 * @return the historyPrice
	 */
	public float getHistoryPrice() {
		return historyPrice;
	}
	/**
	 * @param historyPrice the historyPrice to set
	 */
	public void setHistoryPrice(float historyPrice) {
		this.historyPrice = historyPrice;
	}
	/**
	 * @return the costPrice
	 */
	public float getCostPrice() {
		return costPrice;
	}
	/**
	 * @param costPrice the costPrice to set
	 */
	public void setCostPrice(float costPrice) {
		this.costPrice = costPrice;
	}
	/**
	 * @return the expirationTime
	 */
	public String getExpirationTime() {
		return expirationTime;
	}
	/**
	 * @param expirationTime the expirationTime to set
	 */
	public void setExpirationTime(String expirationTime) {
		this.expirationTime = expirationTime;
	}
	/**
	 * @return the isMarketable
	 */
	public Integer getIsMarketable() {
		return isMarketable;
	}
	/**
	 * @param isMarketable the isMarketable to set
	 */
	public void setIsMarketable(Integer isMarketable) {
		this.isMarketable = isMarketable;
	}
	/**
	 * @return the isBest
	 */
	public Integer getIsBest() {
		return isBest;
	}
	/**
	 * @param isBest the isBest to set
	 */
	public void setIsBest(Integer isBest) {
		this.isBest = isBest;
	}
	/**
	 * @return the isNew
	 */
	public Integer getIsNew() {
		return isNew;
	}
	/**
	 * @param isNew the isNew to set
	 */
	public void setIsNew(Integer isNew) {
		this.isNew = isNew;
	}
	/**
	 * @return the isHot
	 */
	public Integer getIsHot() {
		return isHot;
	}
	/**
	 * @param isHot the isHot to set
	 */
	public void setIsHot(Integer isHot) {
		this.isHot = isHot;
	}
	/**
	 * @return the keyWorld
	 */
	public String getKeyWorld() {
		return keyWorld;
	}
	/**
	 * @param keyWorld the keyWorld to set
	 */
	public void setKeyWorld(String keyWorld) {
		this.keyWorld = keyWorld;
	}
	/**
	 * @return the status
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * @param status the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * @return the goodsNum
	 */
	public Integer getGoodsNum() {
		return goodsNum;
	}
	/**
	 * @param goodsNum the goodsNum to set
	 */
	public void setGoodsNum(Integer goodsNum) {
		this.goodsNum = goodsNum;
	}
	/**
	 * @return the saleNum
	 */
	public Integer getSaleNum() {
		return saleNum;
	}
	/**
	 * @param saleNum the saleNum to set
	 */
	public void setSaleNum(Integer saleNum) {
		this.saleNum = saleNum;
	}
	/**
	 * @return the commentScore
	 */
	public float getCommentScore() {
		return commentScore;
	}
	/**
	 * @param commentScore the commentScore to set
	 */
	public void setCommentScore(float commentScore) {
		this.commentScore = commentScore;
	}
	
	/**
	 * @return the commentsTotal
	 */
	public Integer getCommentsTotal() {
		return commentsTotal;
	}
	/**
	 * @param commentsTotal the commentsTotal to set
	 */
	public void setCommentsTotal(Integer commentsTotal) {
		this.commentsTotal = commentsTotal;
	}
	
	/**
	 * @return the position
	 */
	public String getPosition() {
		return position;
	}
	/**
	 * @param position the position to set
	 */
	public void setPosition(String position) {
		this.position = position;
	}
	
	/**
	 * @return the uUID
	 */
	public String getUUID() {
		return UUID;
	}
	/**
	 * @param uUID the uUID to set
	 */
	public void setUUID(String uUID) {
		UUID = uUID;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * @return the createUser
	 */
	public String getCreateUser() {
		return createUser;
	}
	/**
	 * @param createUser the createUser to set
	 */
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	/**
	 * @return the createDate
	 */
	public String getCreateDate() {
		return createDate;
	}
	/**
	 * @param createDate the createDate to set
	 */
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	/**
	 * @return the updateUser
	 */
	public String getUpdateUser() {
		return updateUser;
	}
	/**
	 * @param updateUser the updateUser to set
	 */
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	/**
	 * @return the updateDate
	 */
	public String getUpdateDate() {
		return updateDate;
	}
	/**
	 * @param updateDate the updateDate to set
	 */
	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}
	
	  
   
	  
	
}
